Optimal. Leaf size=54 \[ \frac{2 \sqrt{c+d x} \sinh \left (a+b \sqrt{c+d x}\right )}{b d}-\frac{2 \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0472882, antiderivative size = 54, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.286, Rules used = {5311, 5305, 3296, 2638} \[ \frac{2 \sqrt{c+d x} \sinh \left (a+b \sqrt{c+d x}\right )}{b d}-\frac{2 \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5311
Rule 5305
Rule 3296
Rule 2638
Rubi steps
\begin{align*} \int \cosh \left (a+b \sqrt{c+d x}\right ) \, dx &=\frac{\operatorname{Subst}\left (\int \cosh \left (a+b \sqrt{x}\right ) \, dx,x,c+d x\right )}{d}\\ &=\frac{2 \operatorname{Subst}\left (\int x \cosh (a+b x) \, dx,x,\sqrt{c+d x}\right )}{d}\\ &=\frac{2 \sqrt{c+d x} \sinh \left (a+b \sqrt{c+d x}\right )}{b d}-\frac{2 \operatorname{Subst}\left (\int \sinh (a+b x) \, dx,x,\sqrt{c+d x}\right )}{b d}\\ &=-\frac{2 \cosh \left (a+b \sqrt{c+d x}\right )}{b^2 d}+\frac{2 \sqrt{c+d x} \sinh \left (a+b \sqrt{c+d x}\right )}{b d}\\ \end{align*}
Mathematica [A] time = 0.0607152, size = 50, normalized size = 0.93 \[ \frac{2 \left (b \sqrt{c+d x} \sinh \left (a+b \sqrt{c+d x}\right )-\cosh \left (a+b \sqrt{c+d x}\right )\right )}{b^2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.01, size = 63, normalized size = 1.2 \begin{align*} 2\,{\frac{ \left ( a+b\sqrt{dx+c} \right ) \sinh \left ( a+b\sqrt{dx+c} \right ) -\cosh \left ( a+b\sqrt{dx+c} \right ) -a\sinh \left ( a+b\sqrt{dx+c} \right ) }{d{b}^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.11139, size = 149, normalized size = 2.76 \begin{align*} -\frac{b{\left (\frac{{\left ({\left (d x + c\right )} b^{2} e^{a} - 2 \, \sqrt{d x + c} b e^{a} + 2 \, e^{a}\right )} e^{\left (\sqrt{d x + c} b\right )}}{b^{3}} + \frac{{\left ({\left (d x + c\right )} b^{2} + 2 \, \sqrt{d x + c} b + 2\right )} e^{\left (-\sqrt{d x + c} b - a\right )}}{b^{3}}\right )} - 2 \,{\left (d x + c\right )} \cosh \left (\sqrt{d x + c} b + a\right )}{2 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.62225, size = 112, normalized size = 2.07 \begin{align*} \frac{2 \,{\left (\sqrt{d x + c} b \sinh \left (\sqrt{d x + c} b + a\right ) - \cosh \left (\sqrt{d x + c} b + a\right )\right )}}{b^{2} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.558324, size = 65, normalized size = 1.2 \begin{align*} \begin{cases} x \cosh{\left (a \right )} & \text{for}\: b = 0 \wedge \left (b = 0 \vee d = 0\right ) \\x \cosh{\left (a + b \sqrt{c} \right )} & \text{for}\: d = 0 \\\frac{2 \sqrt{c + d x} \sinh{\left (a + b \sqrt{c + d x} \right )}}{b d} - \frac{2 \cosh{\left (a + b \sqrt{c + d x} \right )}}{b^{2} d} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.45542, size = 282, normalized size = 5.22 \begin{align*} \frac{{\left ({\left (\sqrt{d x + c} b + a\right )} b - a b - b \mathrm{sgn}\left ({\left (\sqrt{d x + c} b + a\right )} b - a b\right )\right )} e^{\left ({\left (\sqrt{d x + c} b + a\right )} \mathrm{sgn}\left ({\left (\sqrt{d x + c} b + a\right )} b - a b\right ) - a \mathrm{sgn}\left ({\left (\sqrt{d x + c} b + a\right )} b - a b\right ) + a\right )}}{b^{3} d} - \frac{{\left ({\left (\sqrt{d x + c} b + a\right )} b - a b + b \mathrm{sgn}\left ({\left (\sqrt{d x + c} b + a\right )} b - a b\right )\right )} e^{\left (-{\left (\sqrt{d x + c} b + a\right )} \mathrm{sgn}\left ({\left (\sqrt{d x + c} b + a\right )} b - a b\right ) + a \mathrm{sgn}\left ({\left (\sqrt{d x + c} b + a\right )} b - a b\right ) - a\right )}}{b^{3} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]